package com.company.dao;

import com.company.exception.DAOException;

public class EmployeeDaoImpl extends AbstractDaoHib<Employee> implements EmployeeDAO {	

	@Override
	public Employee save(Employee employee) throws DAOException {
		super.save(employee);
		
		return employee;
	}

	@Override
	public Employee findById(long id) throws DAOException {		
		return (Employee) super.find(Employee.class, id);
	}
	
}
